import { createRouter, createWebHistory } from 'vue-router'
const routes = [
    {
        path: '/',
        redirect: '/dashboard'
    },

    {
        path: '/dashboard',
        component: () => import('../views/Dashboard.vue')
    },

    {
        path: '/monitor',
        component: () => import('../views/Monitor.vue')
    },

    {
        path: '/log',
        component: () => import('../views/Log.vue')
    },

    {
        path: '/process',
        component: () => import('../views/Process.vue')
    },

    {
        path: '/aichat',
        component: () => import('../views/AIChat.vue')
    },

    {
        path: '/terminal',
        component: () => import('../views/Terminal.vue')
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router 